$OpenBSD: patch-configure,v 1.2 2009/04/25 18:02:58 ajacoutot Exp $
--- configure.orig	Wed Jan  3 17:40:32 2001
+++ configure	Sat Apr 25 19:18:55 2009
@@ -3399,7 +3399,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3405 "configure"
 #include "confdefs.h"
@@ -3508,6 +3508,7 @@ echo "configure:3508: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
+  LIBS="-lintl -liconv $LIBS"
   cat > conftest.$ac_ext <<EOF
 #line 3513 "configure"
 #include "confdefs.h"
